#ifndef _GFPS_H_
	#define _GFPS_H_

#include <SDL.h>

class GFPS
{
public:
	static GFPS FPSControl;

private:
	int OldTime;
	int LastTime;

	//Figure out the frame rate of the machine, 
	//and base our movements off of the frame rate.
	float SpeedFactor;

	int NumFrames;
	int Frames;

public:
	GFPS();
	~GFPS();

	void OnLoop();

public:
	int GetFPS();

	float GetSpeedFactor();
};

#endif